/*
 * File:   lib.h
 * Author: oddi
 *
 * Created on February 7, 2010, 10:22 PM
 */

#ifndef _LIB_H
#define	_LIB_H
#ifndef _GLOBAL_DEFINITIONS_H
#include "global_definitions.h"
#endif

#ifdef	__cplusplus
extern "C" {
#endif
    int token_file(char* short_file_name, char* name_pattern, char* delim, int** token_data, int token_data_size);
    floatdig simple_integration(floatdig* x, floatdig*y, int num_of_points);

    //vector handlers
    void lib_set_vector(vector3d*, floatdig);
    void lib_add_vector(vector3d*, vector3d*, vector3d* sum);
    void lib_divide_vector(vector3d* in, floatdig div, vector3d* out);




#ifdef	__cplusplus
}
#endif

#endif	/* _LIB_H */

